package com.ruoyi.project.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 待办事项对象 pro_todo
 * 
 * @author ruoyi
 * @date 2024-12-06
 */
public class ProTodo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 待办事项ID */
    private Long todoId;

    /** 待办事项名称 */
    @Excel(name = "待办事项名称")
    private String todoName;

    /** 待办事项类型 */
    @Excel(name = "待办事项类型")
    private String todoType;

    /** 待办事项状态(0已完成，1待完成） */
    @Excel(name = "待办事项状态(0已完成，1待完成）")
    private String todoStatus;

    /** 限制时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "限制时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date limitTime;

    public void setTodoId(Long todoId) 
    {
        this.todoId = todoId;
    }

    public Long getTodoId() 
    {
        return todoId;
    }
    public void setTodoName(String todoName) 
    {
        this.todoName = todoName;
    }

    public String getTodoName() 
    {
        return todoName;
    }
    public void setTodoType(String todoType) 
    {
        this.todoType = todoType;
    }

    public String getTodoType() 
    {
        return todoType;
    }
    public void setTodoStatus(String todoStatus) 
    {
        this.todoStatus = todoStatus;
    }

    public String getTodoStatus() 
    {
        return todoStatus;
    }
    public void setLimitTime(Date limitTime) 
    {
        this.limitTime = limitTime;
    }

    public Date getLimitTime() 
    {
        return limitTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("todoId", getTodoId())
            .append("todoName", getTodoName())
            .append("todoType", getTodoType())
            .append("todoStatus", getTodoStatus())
            .append("limitTime", getLimitTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
